{"ast":null,"code":"import React from'react';import{Toggle}from\"../../components/\";import{jsx as _jsx}from\"react/jsx-runtime\";import{jsxs as _jsxs}from\"react/jsx-runtime\";var Home=function Home(_ref){var childrenFirst=_ref.childrenFirst,childrenSecond=_ref.childrenSecond;return/*#__PURE__*/_jsx(\"section\",{className:\"home\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"messenger\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"messenger__sidebar\",children:[/*#__PURE__*/_jsx(Toggle,{}),childrenFirst&&childrenFirst]}),childrenSecond&&childrenSecond]})});};export default Home;","map":{"version":3,"names":["React","Toggle","Home","childrenFirst","childrenSecond"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/src/pages/Home/index.tsx"],"sourcesContent":["import React from 'react';\nimport {HomeProps} from \"../../models/props/HomeProps\";\nimport {Toggle} from \"../../components/\";\n\nconst Home: React.FC <HomeProps> = ({childrenFirst, childrenSecond}) => {\n    return (\n        <section className=\"home\">\n            <div className=\"messenger\">\n                <div className=\"messenger__sidebar\">\n                    <Toggle />\n                    {childrenFirst && childrenFirst}\n                </div>\n                {childrenSecond && childrenSecond}\n            </div>\n        </section>\n    );\n}\n\nexport default Home;"],"mappings":"AAAA,MAAOA,MAAK,KAAM,OAAO,CAEzB,OAAQC,MAAM,KAAO,mBAAmB,CAAC,wFAEzC,GAAMC,KAA0B,CAAG,QAA7BA,KAA0B,MAAwC,IAAnCC,cAAa,MAAbA,aAAa,CAAEC,cAAc,MAAdA,cAAc,CAC9D,mBACI,gBAAS,SAAS,CAAC,MAAM,uBACrB,aAAK,SAAS,CAAC,WAAW,wBACtB,aAAK,SAAS,CAAC,oBAAoB,wBAC/B,KAAC,MAAM,IAAG,CACTD,aAAa,EAAIA,aAAa,GAC7B,CACLC,cAAc,EAAIA,cAAc,GAC/B,EACA,CAElB,CAAC,CAED,cAAeF,KAAI"},"metadata":{},"sourceType":"module"}